﻿@model sBlog.Net.Domain.Entities.UserEntity
<span class="titleNewPost">Giới thiệu tác giả</span>
<div>
    <div class="avatarTQ">
        <a href="/tac-gia/@Model.UserName">
            @if (Model.Avatar != null)
            { 
                <img src="@Url.Content("http://s1.img.yan.vn/Mlog/UploadUserAvatar/70x70_" + Model.Avatar)" class="imgAvatar" style="border: 2px solid #FFFFFF;" width="90" height="90" alt="user avatar"/>
            }
            else
            { 
                <img src="@Url.Content("~/Content/Images/MlogThem/logo.png")" class="imgAvatar" style="border: 2px solid #FFFFFF;" width="90" height="90" alt="user avatar"/>
            }
        </a>
    </div>
    <div class="authorInfo">
        <span><a href="/tac-gia/@Model.UserName">@Model.UserDisplayName</a></span><br />
        <span>@Model.JobDescription</span>
    </div>
    <div class="authorInfoRight">
        @{
            if (Model.Splash != null)
            {
            @:"&nbsp;@Model.Splash&nbsp;"
        }
        }
    </div>
</div>
